import { createI18n } from "vue-i18n";
import zh_CN from "@/assets/language/zh_CN.json";
import en_US from "@/assets/language/en_US.json";
import pt_BR from "@/assets/language/pt_BR.json";
const i18n = createI18n({
    legacy: false,
    locale: localStorage.getItem("language") || "zh_CN",
    messages: {
        zh_CN,
        en_US,
        pt_BR
    }
})
export default i18n